<{if $basic_search == false && $search_results }>
<div style="padding-<{$smarty.const._GLOBAL_LEFT}>: 3px;">


<a href="#searchtype-keywords" name="searchtype-keywords" style="line-height:auto;" onclick ="jQuery('div.searchtype-keywords').toggle(400);"><h3><{$label_search_results}>: <{$showing}></h3></a>


<div class="searchtype-keywords" style="display: none">
	<span>
	<strong><{$label_search_type}> </strong><{$search_type}><br />
	<strong><{$label_keywords}> </strong>
		<{section name=cur_kw_searched loop=$searched_keywords}>
			<{$searched_keywords[cur_kw_searched]}><{if $smarty.section.cur_kw_searched.index <> $smarty.section.cur_kw_searched.total}>&nbsp;<{/if}>
		<{/section}><br />
	<{if $ignored_keywords}><{$label_ignored_keywords}>
		<strong>
		<{section name=cur_kw_not_searched loop=$ignored_keywords}>
			<{$ignored_keywords[cur_kw_not_searched]}><{if $smarty.section.cur_kw_not_searched.index <> $smarty.section.cur_kw_not_searched.total}>&nbsp;<{/if}>
		<{/section}>
		</strong>
	<{/if}>
	</span>
</div>

</div>

<table cellpadding="0" cellspacing="0" width="100%" border="0" class="block-content">
<{foreach from=$module_sort_order key=sort_key item=sort_value}>
<tr>
 <td></td>
 <td>
 	<div style="margin-top: 18px;margin-bottom: 0px;" class="resultMsg"><b><{$sort_key}></b>: (<{$sort_value}> <{$smarty.const._SR_HITSRETURNED}>)</div>
<{if $search_results[$sort_key].search_more_url != ''}>
	  <span style="margin: 10px; padding: 2px 0.5em 3px 0.5em; height:30px;">
	  <a href="<{$search_results[$sort_key].search_more_url}>">
	  <img src="<{$smarty.const.ICMS_IMAGES_SET_URL}>/actions/find.png" alt="<{$search_results[$sort_key].search_more_title}>" style="vertical-align: middle;" /> <{$smarty.const._SR_SHOWALLR}>
	  </a>
	  </span>
	<{/if}>

	<{if $search_results[$sort_key].page_nav != ''}>
		<div style="padding-bottom: 5px; text-align: <{$smarty.const._GLOBAL_RIGHT}>"><{$search_results[$sort_key].page_nav}></div>
	<{/if}>
 </td>
 <td></td>
</tr>
<tr style="background-color: #FDFDFD;">
 <td></td>
 <td style="padding: 15px">
	<table class="outer" cellpadding="4" cellspacing="1" width="100%">
		<{section name=cur_result loop=$search_results[$sort_key].results}>
		<tr>
			<td class="head"><{math equation="x + y" x=$smarty.section.cur_result.index y=$start}></td>
			<td style="width: 100%;" class="<{cycle values="even,odd"}>">
				<img style="vertical-align: middle;" alt="<{$search_results[$sort_key].results[cur_result].processed_image_alt_text}>" src="<{$search_results[$sort_key].results[cur_result].processed_image_url}>" />
				<{$search_results[$sort_key].results[cur_result].processed_image_tag}>&nbsp;
				<b><a href="<{$search_results[$sort_key].results[cur_result].link}>"><{$search_results[$sort_key].results[cur_result].processed_title}></a>						</b>
				<br /><small>&nbsp;&nbsp;<a href="<{$search_results[$sort_key].results[cur_result].processed_user_url}>"><{$search_results[$sort_key].results[cur_result].processed_user_name}></a> <{$search_results[$sort_key].results[cur_result].processed_time}></small>
     			</td>
    	</tr>
		<{/section}>
	</table>
	<{if $search_results[$sort_key].page_nav != ''}>
		<div style="padding-bottom: 5px; text-align: <{$smarty.const._GLOBAL_RIGHT}>"><{$search_results[$sort_key].page_nav}></div>
	<{/if}>
 </td>
 <td></td>
</tr>
<{/foreach}>
    <tr>
     <td></td>
     <td></td>
     <td></td>
    </tr>
</table>
<{/if}>
<a href="#searchtype-form-again" name="searchtype-form-again" style="line-height:auto;" onclick ="jQuery('div.searchtype-form-again').toggle(400);"><h3><{$smarty.const._SR_SEARCHRULE}></h3></a>
<div class="searchtype-form-again" style="display: none">
<{$search_form}>
</div>